package com.lixinxin.commoncomposeproject.model

/**
 *   author ： lixinxin
 *   time    ： 2021-11-19
 *   email：895330766@qq.com
 */
sealed class ArticleState {

    class Success(val articleModel: ArticleModel) : ArticleState()
    class Failure(val error: Throwable) : ArticleState()
    object Loading : ArticleState()
    object Empty : ArticleState()

}